package com.cata.mall.security.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @作者: Tao
 * @日期: 2025/10/11
 * @时间: 10:36
 * @描述: SpringSecurity白名单资源路径配置<pre>
 */
@Getter
@Setter
//通过@ConfigurationProperties注解自动绑定配置application.yml文件中以"secure.ignored"为前缀的属性
@ConfigurationProperties(prefix = "secure.ignored")
public class IgnoreUrlsConfig {
    private List<String> urls = new ArrayList<>();
}
